package com.cskaoyan.service.wx;/*-*- coding = utf-8 -*-
@Time : 2022/11/22 20:41
@Author : 林涂兵
@File : WxOrderService.java
@Software: IntelliJ IDEA*/

import com.cskaoyan.bean.bo.OrderSubmitBo;
import com.cskaoyan.bean.common.BaseParam;
import com.cskaoyan.bean.vo.OrderListVo;
import com.cskaoyan.bean.vo.wx.OrderDetailVo;
import com.cskaoyan.bean.bo.wxordercommentbo.OrderCommentBo;
import com.cskaoyan.bean.po.MarketOrderGoods;
import com.cskaoyan.bean.vo.wx.OrderSubmitVo;

public interface WxOrderService {
    OrderListVo selectOrderByStatusId(BaseParam baseParam, Integer showType);

    OrderDetailVo selectOrderDetailById(Integer orderId);

    int orderConfirm(Integer orderId);

    int orderRefund(Integer orderId);

    int orderDelete(Integer orderId);

    MarketOrderGoods orderGoods(Integer orderId, Integer goodsId);

    int orderComment(OrderCommentBo orderCommentBo);

    void cancelOrderById(Integer orderId);

    OrderSubmitVo submitOrder(OrderSubmitBo orderSubmitBo);

    void updateOrderStatus(Integer orderId);
}
